package com.ideabove.heart.db;

import android.provider.BaseColumns;

public final class Database {
    
    public static final class AlarmSetTable implements BaseColumns{
        public static final String DAY = "day";
        public static final String HOUR = "hour";
        public static final String MIN = "min";
        public static final String INTERVAL = "inter";
        public static final String REPEATE = "rep";
        public static final String SETTIME = "settime";
        public static final String ISUSE = "use";
        public static final String FAILCNT = "fail";
        public static final String _TABLENAME = "alarm";        
        public static final String _CREATE =
            "create table "+_TABLENAME+"("
                    +_ID+" integer primary key, "
                    +DAY+" int , "
                    +HOUR+" int , "
                    +MIN+" int , "
                    +SETTIME+" long , "
                    +INTERVAL+" int , "
                    +ISUSE+" int , "
                    +FAILCNT+" int , "
                    +REPEATE+" int);";
        
        
    }
 
    public static final class SeceduleTable implements BaseColumns{
        public static final String SUCESS_TIME = "sucesstime";
        public static final String STORY_STEP = "setp";
        public static final String EP = "ep";
        public static final String NEXT_EP = "next_ep";
        public static final String RP_IMG = "rp_img";
        public static final String _TABLENAME = "schedule";
        public static final String _CREATE =
            "create table "+_TABLENAME+"("
                    +_ID+" integer primary key autoincrement, "
                    +SUCESS_TIME+" long , "
                    +STORY_STEP+" int,"
                    +EP+" varchar,"
                    +NEXT_EP+" varchar,"
                    +RP_IMG+" varchar ); ";
    }
   
}
